﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MINERP.MODEL.FoundationModel;

namespace MINERP.MODEL.SmallPic
{
    public class ProductView
    {
        public int OrderProductId { get; set; }
        public bool IsSelect { get; set; }//是否被勾选
        public string OrderCode { get; set; }// 产品号
        public string OrderName { get; set; }//产品名称
        public string ShopName { get; set; }//商户名称
        public string CtmName { get; set; }//客人名称
        public DateTime OrderTime { get; set; }//下单日期
        public int Priority { get; set; }//加急级别
        public string OrderPath { get; set; }//定单路路径
        public string Remark { get; set; }//备注
        public int OrderNum { get; set; }//产品份数
        public int PhotoNum { get { return OrderNum * Photos.Sum(p => p.TotalNum); } }

        public int Status { get; set; }//是否已被导出过片

        public List<PhotoInfo_Info> Photos { get; set; }//该定单的照片信息

        public string PaperTypeName { get; set; }
        public string PaperFaceName { get; set; }
        public bool isRetrun { get;set;}///是否返单
    }
}
